﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace ICalendar.CalendarProperties
{
    /// <summary>
    /// The property indicates the date/time that the instance of the iCalendar object was created.
    /// </summary>
    /// <value>The date and time is a UTC value.</value>
    [Serializable]
    [XmlRoot("dtstamp")]
    public class DateTimeStamp : UTCDateTimeBase
    {
        public DateTimeStamp()
        {
        }

        public DateTimeStamp(DateTime value)
            : base(value)
        {
        }

        public static implicit operator DateTimeStamp(DateTime value)
        {
            return new DateTimeStamp(value);
        }
    }
}
